import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [
    // dev-article路径
    {
      path: '/AboutUsAdvise',
      name: 'AboutUs-advise',
      component: () =>
        import ('@/views/AboutUs-advise.vue')
    },
    {
      path: '/aboutus',
      name: 'aboutus',
      component: () =>
        import ('@/views/aboutus.vue')
    },
    {
      path: '/MyProjectArrange',
      name: 'MyProject-arrange',
      component: () =>
        import ('@/views/MyProject-arrange.vue')
    },
    {
      path: '/MyProjectCheck',
      name: 'MyProject-check',
      component: () =>
        import ('@/views/MyProject-check.vue')
    },
    {
      path: '/MyProjectFlow',
      name: 'MyProject-flow',
      component: () =>
        import ('@/views/MyProject-flow.vue')
    },
    {
      path: '/MyProjectProgress',
      name: 'MyProject-progress',
      component: () =>
        import ('@/views/MyProject-progress.vue')
    },
    {
      path: '/MyProjectQuery',
      name: 'MyProject-query',
      component: () =>
        import ('@/views/MyProject-query.vue')
    },
    {
      path: '/MyProjectStock',
      name: 'MyProject-stock',
      component: () =>
        import ('@/views/MyProject-stock.vue')
    },
    {
      path: '/NewHeart',
      name: 'NewHeart',
      component: () =>
        import ('@/views/NewHeart.vue')
    },
    {
      path: '/UserHeartData',
      name: 'UserHeart-data',
      component: () =>
        import ('@/views/UserHeart-data.vue')
    },
    {
      path: '/UserHeartInstall',
      name: 'UserHeart-install',
      component: () =>
        import ('@/views/UserHeart-install.vue')
    },
    // MyProjectFlow路径
    {
      path: '/My/createProgram',
      name: 'create-program',
      component: () =>
        import ('@/views/compents/My/create-program.vue')
    },
    {
      path: '/My/dataCollection',
      name: 'data-collection',
      component: () =>
        import ('@/views/compents/My/data-collection.vue')
    },
    {
      path: '/My/environmentQuality',
      name: 'environment-quality',
      component: () =>
        import ('@/views/compents/My/environment-quality.vue')
    },

    // 报告编审及审核路径
    {
      path: '/My/firstTrial',
      name: 'first-trial',
      component: () =>
        import ('@/views/compents/My/first-trial.vue')
    }, {
      path: '/My/firstInstance',
      name: 'first-instance',
      component: () =>
        import ('@/views/compents/My/first-instance.vue')
    }, {
      path: '/My/secondInstance',
      name: 'second-instance',
      component: () =>
        import ('@/views/compents/My/second-instance.vue')
    }, {
      path: '/My/reExamine',
      name: 'reexamine',
      component: () =>
        import ('@/views/compents/My/reexamine.vue')
    }, {
      path: '/My/lastInstance',
      name: 'last-instance',
      component: () =>
        import ('@/views/compents/My/last-instance.vue')
    }, {
      path: '/My/reportReview',
      name: 'report-review',
      component: () =>
        import ('@/views/compents/My/report-review.vue')
    }, {
      path: '/My/reportTria',
      name: 'report-tria',
      component: () =>
        import ('@/views/compents/My/report-tria.vue')
    },
    {
      path: '/My/reconnaissanceTrip',
      name: 'reconnaissance-trip',
      component: () =>
        import ('@/views/compents/My/reconnaissance-trip.vue')
    },
    {
      path: '/My/technologyAssessment',
      name: 'technology-assessment',
      component: () =>
        import ('@/views/compents/My/technology-assessment.vue')
    },
    {
      path: '/My/reportPublicity',
      name: 'report-publicity',
      component: () =>
        import ('@/views/compents/My/report-publicity.vue')
    },
    {
      path: '/My/reportApproval',
      name: 'report-approval',
      component: () =>
        import ('@/views/compents/My/report-approval.vue')
    },
    {
      path: '/My/reportArchives',
      name: 'report-archives',
      component: () =>
        import ('@/views/compents/My/report-archives.vue')
    },
    //我的审核路径
    //我的审核-分公司一审
    {
      path: '/Mypro/MyFirstInstance',
      name: 'MyFirst-instance',
      component: () =>
        import ('@/views/compents/Mypro/MyFirst-instance.vue')
    },
    //我的审核-分公司一审修改
    {
      path: '/Mypro/MyFirstInstanceModification',
      name: 'MyFirst-instanceModification',
      component: () =>
        import ('@/views/compents/Mypro/MyFirst-instanceModification.vue')
    },
    //我的审核-二审、
    {
      path: '/Mypro/MySecondInstance',
      name: 'mySecond-instance',
      component: () =>
        import ('@/views/compents/Mypro/MySecond-instance.vue')
    },
    //我的审核-二审修改
    {
      path: '/Mypro/MySecondInstanceModification',
      name: 'MySecond-instanceModification',
      component: () =>
        import ('@/views/compents/Mypro/MySecond-instanceModification.vue')
    },
    //初审
    {
      path: '/Mypro/MyfirstTrial',
      name: 'Myfirst-trial',
      component: () =>
        import ('@/views/compents/Mypro/Myfirst-trial.vue')
    },
    //初审修改
    {
      path: '/Mypro/MyfirstTrialModification',
      name: 'Myfirst-trialModification',
      component: () =>
        import ('@/views/compents/Mypro/Myfirst-trialModification')
    },
    //复审
    {
      path: '/Mypro/MyrEexamine',
      name: 'Myreexamine',
      component: () =>
        import ('@/views/compents/Mypro/Myreexamine')
    },
    //复审修改页 
    {
      path: '/Mypro/MyreExamineModification',
      name: 'MyreexamineModification',
      component: () =>
        import ('@/views/compents/Mypro/MyreexamineModification')
    },
//终审
    {
      path: '/Mypro/MylastInstance',
      name: 'Mylast-instance',
      component: () =>
        import ('@/views/compents/Mypro/Mylast-instance')
    },
    //终审修改
    {
      path: '/Mypro/MylastInstanceModification',
      name: 'Mylast-instanceModification',
      component: () =>
        import ('@/views/compents/Mypro/Mylast-instanceModification')
    },
    {
      path: '/',
      redirect: '/MyProjectFlow'
    }
  ]
})
